package com.example.dto;

import com.example.entity.OrderDetail;
import com.example.entity.Orders;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 订单和订单明细的数据传输
 *
 * @author czx
 * @since 2022/5/10 19:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrdersDto extends Orders {
    private List<OrderDetail> orderDetails;
}
